#!/bin/bash
make clean
rm -r debian/tmp
rm ./Makefile
qmake && make
fakeroot make INSTALL_ROOT=debian/tmp install
mkdir debian/tmp/DEBIAN
cp debian/{changelog,control,postinst,postrm} debian/tmp/DEBIAN
fakeroot dh_md5sums
dh_builddeb --destdir=./
